package com.test.p07adapter.example01;

/**
 * @author bcc
 */
public class Banner {

    private String string;

    public Banner(String string){
        this.string = string ;
    }

    public void showWithParen(){
        System.out.println("("+string+"}");
    }

    public void showWithAster(){
        System.out.println("*"+string+"*");
    }
}
